xmlwf $< #check for well-formedness
xmllint --noout --valid $< #validate
xsltproc --stringparam html.stylesheet \
- "http://www.gpsbabel.org/style3.css" \
- --stringparam base.dir "$(WEB)/htmldoc/" \
- --stringparam use.id.as.filename 1 \
- --stringparam root.filename "readme" \
- http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl \
- $<
+ "http://www.gpsbabel.org/style3.css" \
+ --stringparam base.dir "$(WEB)/htmldoc/" \
+ --stringparam use.id.as.filename 1 \
+ --stringparam root.filename "readme" \
+ babelmain.xsl \
+ $<
tools/mkcapabilities
readme.txt: readme.html
--- /dev/null
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:exsl="http://exslt.org/common"
+ version="1.0"
+ exclude-result-prefixes="exsl">
+
+
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"/>
+
+<xsl:template name="user.header.navigation">
+<xsl:text>
+
+</xsl:text>
+<xsl:comment>#include virtual="doc-header.inc" </xsl:comment>
+<xsl:text>
+
+</xsl:text>
+</xsl:template>
+
+<xsl:template name="user.footer.navigation">
+<xsl:text>
+
+</xsl:text>
+<xsl:comment>#include virtual="doc-footer.inc" </xsl:comment>
+<xsl:text>
+
+</xsl:text>
+</xsl:template>
+
+</xsl:stylesheet>